Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source-zendesk-support: add logging & ticket_comments checkpoint #2088

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Alex-Bair
Copy link
Contributor

@Alex-Bair Alex-Bair commented Oct 25, 2024

Description:

For users with a lot of data, the ticket_comments stream can take a while to backfill, especially given the 30 requests/60 seconds rate limit for this endpoint. Checkpointing that stream will help if that backfill complete over connector restarts, and it'll provide an indicator in the UI that the connector is still processing records.

I've also added logging to catch if the ticket_comments cursor does not increase & to log the status codes for non-200 responses to help troubleshoot if the connector is stuck making the same failing request.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

Tested on a local stack. Confirmed ticket_comments is checkpointed every 1,000 documents.


This change is Reviewable

@Alex-Bair Alex-Bair added the change:unplanned Unplanned change, useful for things like doc updates label Oct 25, 2024
For users with a lot of data, the `ticket_comments` stream can take a
while to backfill, especially given the 30 requests/60 seconds rate
limit for this endpoint. Checkpointing that stream will help if that
backfill complete over connector restarts, and it'll provide an
indicator in the UI that the connector is still processing records.

I've also added logging to catch if the `ticket_comments` cursor does
not increase & to log the status codes for non-200 responses to help
troubleshoot if the connector is stuck making the same failing request.
@Alex-Bair Alex-Bair force-pushed the bair/zendesk-support-ticket-comments-checkpoint branch from d873ac5 to 3cf40b4 Compare October 25, 2024 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:unplanned Unplanned change, useful for things like doc updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant